import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'

const app = createApp(App)
app.use(ElementPlus)
app.use(router)

/*
* 导航守卫
* */
router.beforeEach((to, from, next) => {
	console.log(to.path, from.path)
	next()
})

app.mount('#app')
